package demo;

import com.jfinal.config.*;

public class DemoConfig extends JFinalConfig {

    @Override//configConstant配置JFinal常量值
    public void configConstant(Constants me) {
        me.setDevMode(true);

    }

    @Override//路由
    public void configRoute(Routes me) {
            //add添加路由
        me.add("/hello",HelloController.class);
    }

    @Override//插件
    public void configPlugin(Plugins me) {

    }

    @Override//拦截器
    public void configInterceptor(Interceptors me) {

    }

    @Override//处理器
    public void configHandler(Handlers me) {

    }
}
